package com.ks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@TableName("rule")
@AllArgsConstructor
@NoArgsConstructor
public class Rule {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Double parameter;
    private String indicatorName;
    private String symbol;
    private String type;
    private String aggregate;
    private Integer aggregateTime;
}
